package com.zhangkunhao.notes.service.impl;

import com.zhangkunhao.notes.entity.Do.CollectQuestion;

import java.sql.SQLException;
import java.util.List;

/**
 * @author 20642
 * @description TODO
 * @date 2023/4/9 15:00
 */
public interface CollectQuestionService {
    /**
     * 查询所有
     *
     * @return
     */
    List<CollectQuestion> selectAll();

    /**
     * 添加
     *
     * @param
     */
    void insert(CollectQuestion collectQuestion) throws Exception;

    int delete(int id) throws SQLException;

    int update(CollectQuestion collectQuestion, String... params) throws Exception;


}
